package com.stu.reflection.test_declared;

@SuppressWarnings("all")
public class Father {
  public int f1;
  protected int f2;
  int f3;
  private int f4;

  public void m1() { System.out.println("公有方法"); }
  protected void m2() { System.out.println("保护方法"); }
  void m3() { System.out.println("默认方法"); }
  private void m4() { System.out.println("私有方法"); }

  public Father() { System.out.println("公有构造"); }
  protected Father(int i) { System.out.println("保护构造"); }
  Father(int i, int j) { System.out.println("默认访问权限构造"); }
  private Father(int i, int j, int k) { System.out.println("私有构造"); }
}
